mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-28 07:21:36 +00:00
22 lines
381 B
SYSTEMD
22 lines
381 B
SYSTEMD
|
# myNode LND Admin Files
|
||
|
# /etc/systemd/system/lnd_admin_files.service
|
||
|
|
||
|
[Unit]
|
||
|
Description=Copy LND Files to Admin User
|
||
|
Wants=lnd.service
|
||
|
After=lnd.service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
ExecStart=/usr/bin/mynode_lnd_admin_files.sh
|
||
|
Restart=always
|
||
|
RestartSec=1
|
||
|
User=root
|
||
|
Group=root
|
||
|
StandardOutput=syslog
|
||
|
StandardError=syslog
|
||
|
SyslogIdentifier=lndbackup
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|