16 lines
354 B
SYSTEMD
16 lines
354 B
SYSTEMD
[Unit]
|
|
Description=siad
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/user/siad
|
|
EnvironmentFile=/home/user/.sia/sia.env
|
|
ExecStart=/home/user/go/bin/siad --modules cgtwrf --disable-api-security --api-addr :9980
|
|
ExecStop=/home/user/go/bin/siac --addr :9980 stop
|
|
Restart=on-failure
|
|
SyslogIdentifier=siad
|
|
LimitNOFILE=10000
|
|
|
|
[Install]
|
|
WantedBy=default.target
|