diff options
author | drebs <drebs@leap.se> | 2016-12-23 13:27:46 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-12-23 16:02:33 -0200 |
commit | f863ac6135e8c0f1190ad2648db2ef2448bf1372 (patch) | |
tree | 4124d37fb81ae64bcec4b35da6374b11bced1be7 /debian/soledad-server.postinst | |
parent | 156fc02779dcd11b95184f98faca08b7ee5343bb (diff) |
[pkg] use systemd in debian package
Diffstat (limited to 'debian/soledad-server.postinst')
-rw-r--r-- | debian/soledad-server.postinst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/soledad-server.postinst b/debian/soledad-server.postinst index 0f46caf6..f7dadaed 100644 --- a/debian/soledad-server.postinst +++ b/debian/soledad-server.postinst @@ -26,5 +26,6 @@ if [ ! $RET -eq 0 ]; then adduser --system soledad-admin --no-create-home --home /srv/leap/ --ingroup soledad fi - -invoke-rc.d soledad-server start +# update systemd and start service +systemctl --system daemon-reload >/dev/null || true +deb-systemd-invoke start soledad-server.service >/dev/null || true |