Skip to content

Commit 60d933d

Browse files
committed
remove ExecStartPre from other services as it should not be necessary
1 parent 4048683 commit 60d933d

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

contrib/package/arch/copyparty-user.service

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ Environment=PYTHONUNBUFFERED=x
1515
WorkingDirectory=/var/lib/copyparty-jail
1616
ExecReload=/bin/kill -s USR1 $MAINPID
1717

18-
# stop systemd-tmpfiles-clean.timer from deleting copyparty while it's running
19-
# ExecStartPre=+/bin/bash -c 'mkdir -p /run/tmpfiles.d/ && echo "x /tmp/pe-copyparty*" > /run/tmpfiles.d/copyparty.conf'
20-
2118
# run copyparty
2219
ExecStart=/usr/bin/python3 /usr/bin/copyparty -c %h/.config/copyparty/copyparty.conf
2320

contrib/package/arch/copyparty.service

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ ExecReload=/bin/kill -s USR1 $MAINPID
2222
User=%i
2323
Environment=XDG_CONFIG_HOME=/home/%i/.config
2424

25-
# stop systemd-tmpfiles-clean.timer from deleting copyparty while it's running
26-
ExecStartPre=+/bin/bash -c 'mkdir -p /run/tmpfiles.d/ && echo "x /tmp/pe-copyparty*" > /run/tmpfiles.d/copyparty.conf'
27-
2825
# run copyparty
2926
ExecStart=/usr/bin/python3 /usr/bin/copyparty -c /etc/copyparty.d/init
3027

contrib/package/arch/prisonparty.service

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ Environment=PYTHONUNBUFFERED=x
2222
WorkingDirectory=/var/lib/copyparty-jail
2323
ExecReload=/bin/kill -s USR1 $MAINPID
2424

25-
# stop systemd-tmpfiles-clean.timer from deleting copyparty while it's running
26-
ExecStartPre=+/bin/bash -c 'mkdir -p /run/tmpfiles.d/ && echo "x /tmp/pe-copyparty*" > /run/tmpfiles.d/copyparty.conf'
27-
2825
# run copyparty
2926
ExecStart=/bin/bash /usr/bin/prisonparty /var/lib/copyparty-jail %i %i \
3027
/etc/copyparty.d \

0 commit comments

Comments
 (0)