blob: b8d856bbff01fe9908ebe424adc16a6137035e16 (
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
26
|
[Unit]
Description=Sia Daemon
After=network-online.target
[Service]
Type=simple
User=sia
Group=sia
UMask=007
WorkingDirectory=~
ExecStart=/usr/bin/siad
ExecStop=/usr/bin/siac stop
Restart=always
TimeoutStopSec=300
# You might want to use an environment file containing SIA_WALLET_PASSWORD=xxx
# (where xxx is your wallet password) for auto wallet unlocking.
#EnvironmentFile=
[Install]
WantedBy=multi-user.target
|