Skip to content

Commit 5fc634a

Browse files
committed
Fix systemd package
1 parent 5f6aba9 commit 5fc634a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.fpm_systemd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
--deb-field "Bug: https://github.com/SagerNet/sing-box/issues"
99
--no-deb-generate-changes
1010
--config-files /etc/sing-box/config.json
11+
--after-install release/config/sing-box.postinst
1112

1213
release/config/config.json=/etc/sing-box/config.json
1314

release/config/sing-box.postinst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
systemd-sysusers sing-box.conf

0 commit comments

Comments
 (0)