mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 02:12:49 +00:00
24 lines
414 B
Desktop File
24 lines
414 B
Desktop File
# myNode start service
|
|
# /etc/systemd/system/mynode.service
|
|
|
|
[Unit]
|
|
Description=myNode Startup
|
|
Before=docker.service containerd.service
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/mynode_startup.sh
|
|
User=root
|
|
Group=root
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=mynode
|
|
|
|
RestartSec=30
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|