mirror of https://github.com/wb2osz/direwolf.git
Merge e99d2c0c92
into 486b3cf1f6
This commit is contained in:
commit
d3928c2b15
|
@ -1,15 +1,3 @@
|
|||
/var/log/direwolf/stdout /var/log/direwolf/stderr {
|
||||
missingok
|
||||
rotate 30
|
||||
daily
|
||||
copytruncate
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
dateext
|
||||
dateyesterday
|
||||
}
|
||||
|
||||
/var/log/direwolf/*.log {
|
||||
missingok
|
||||
daily
|
||||
|
|
|
@ -12,17 +12,14 @@ User=direwolf
|
|||
# doing so. Then run systemctl daemon-reload so systemd uses your updated
|
||||
# copy of this service file.
|
||||
#ExecStartPre=/some/script.sh
|
||||
ExecStart=/bin/bash -ce "exec /usr/bin/direwolf $DIREWOLF_ARGS >>/var/log/direwolf/stdout 2>>/var/log/direwolf/stderr"
|
||||
ExecStart=/usr/bin/direwolf $DIREWOLF_ARGS
|
||||
Restart=always
|
||||
StandardOutput=null
|
||||
StandardError=null
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/var/log/direwolf
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
DefaultInstance=1
|
||||
|
||||
# alternate version: https://www.f4fxl.org/start-direwolf-at-boot-the-systemd-way/
|
||||
# or: https://groups.io/g/direwolf/message/9883
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#Type Name ID GECOS Home directory Shell
|
||||
u direwolf -:audio 'Direwolf Sound Card-based AX.25 TNC' /usr/share/direwolf -
|
||||
m direwolf audio
|
||||
m direwolf dialout
|
Loading…
Reference in New Issue