aboutsummaryrefslogtreecommitdiff
path: root/sliver-c2/templates/sliver.service.j2
blob: c45687d4ac7eaf547bbfcd4fce7c7b24f127e2e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Sliver
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=on-failure
RestartSec=3
User=root
Environment=SLIVER_ROOT_DIR={{ install_path }}/.sliver
ExecStart={{ install_path }}/sliver-server daemon

[Install]
WantedBy=multi-user.target