diff options
author | 2019-04-22 19:41:58 +0200 | |
---|---|---|
committer | 2019-05-24 12:12:47 +0100 | |
commit | 3fd6c9beccf94337e0fda620c65de456ffc30fab (patch) | |
tree | e9d54c73429dd8fa03566b4539f864e1c25d81c2 /net-p2p/syncthing/files/stdiscosrv.service | |
parent | dev-db/percona-server: fix LibreSSL support (diff) | |
download | gentoo-3fd6c9beccf94337e0fda620c65de456ffc30fab.tar.gz gentoo-3fd6c9beccf94337e0fda620c65de456ffc30fab.tar.bz2 gentoo-3fd6c9beccf94337e0fda620c65de456ffc30fab.zip |
net-p2p/syncthing: Add discovery service
Closes: https://github.com/gentoo/gentoo/pull/11803
Signed-off-by: Gábor Oszkár Dénes <gaboroszkar@protonmail.com>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-p2p/syncthing/files/stdiscosrv.service')
-rw-r--r-- | net-p2p/syncthing/files/stdiscosrv.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-p2p/syncthing/files/stdiscosrv.service b/net-p2p/syncthing/files/stdiscosrv.service new file mode 100644 index 000000000000..4011c7d4c5bd --- /dev/null +++ b/net-p2p/syncthing/files/stdiscosrv.service @@ -0,0 +1,17 @@ +[Unit] +Description=Syncthing discovery server +After=network.target + +[Service] +User=stdiscosrv +Group=stdiscosrv +ExecStart=/usr/libexec/syncthing/stdiscosrv +WorkingDirectory=/var/lib/stdiscosrv + +PrivateTmp=true +ProtectSystem=full +ProtectHome=true +NoNewPrivileges=true + +[Install] +WantedBy=multi-user.target |