mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 02:12:49 +00:00
21 lines
353 B
Desktop File
21 lines
353 B
Desktop File
# myNode Rotate Logs
|
|
# /etc/systemd/system/rotate_logs.service
|
|
|
|
[Unit]
|
|
Description=myNode Rotate Logs
|
|
|
|
[Service]
|
|
Type=simple
|
|
KillMode=control-group
|
|
ExecStart=/usr/bin/mynode_logrotate.sh
|
|
User=root
|
|
Group=root
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=mynode_logrotate
|
|
Restart=always
|
|
RestartSec=120
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|