blob: 5b6dc86c55a1ea54230fe363dce04426186373e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# If you modify this, please also make sure to edit initd.sh
[Unit]
Description=Server for Mysterium - decentralised VPN Network
Documentation=https://mysterium.network/
Requires=network.target
After=network.target
[Service]
User=mysterium-node
Group=mysterium-node
RuntimeDirectory=mysterium-node
RuntimeDirectoryMode=0750
LogsDirectory=mysterium-node
ExecStart=/usr/bin/myst --consumer --config-dir=/etc/mysterium-node --data-dir=/var/lib/mysterium-node --runtime-dir=/var/run/mysterium-node --keystore.lightweight daemon
KillMode=process
TimeoutStopSec=10
SendSIGKILL=yes
Restart=on-failure
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target
|