世界 4 місяців тому
батько
коміт
7d58174f1f
2 змінених файлів з 4 додано та 0 видалено
  1. 1 0
      .fpm_systemd
  2. 3 0
      release/config/sing-box.postinst

+ 1 - 0
.fpm_systemd

@@ -8,6 +8,7 @@
 --deb-field "Bug: https://github.com/SagerNet/sing-box/issues"
 --no-deb-generate-changes
 --config-files /etc/sing-box/config.json
+--after-install release/config/sing-box.postinst
 
 release/config/config.json=/etc/sing-box/config.json
 

+ 3 - 0
release/config/sing-box.postinst

@@ -0,0 +1,3 @@
+#!/bin/sh
+
+systemd-sysusers sing-box.conf