mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
improve signal handling + emit sd-notify on start
This commit is contained in:
parent
7fa5b23ce3
commit
5c7debd900
4 changed files with 71 additions and 11 deletions
|
@ -12,6 +12,7 @@
|
|||
Description=copyparty file server
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/bin/python3 /usr/local/bin/copyparty-sfx.py -q -v /mnt::a
|
||||
ExecStartPre=/bin/bash -c 'mkdir -p /run/tmpfiles.d/ && echo "x /tmp/pe-copyparty*" > /run/tmpfiles.d/copyparty.conf'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue