This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/setup-scripts/siad-upload.service

17 lines
491 B
SYSTEMD
Raw Normal View History

2020-03-02 23:10:27 +00:00
[Unit]
Description=siad-upload
[Service]
Type=simple
WorkingDirectory=/home/user/siad-upload
EnvironmentFile=/home/user/.sia/sia-upload.env
2020-03-12 14:24:35 +00:00
ExecStart=/home/user/go/bin/siad --api-addr "localhost:9970" --rpc-addr ":9971" --host-addr ":9972"
ExecStop=/home/user/go/bin/siac --addr "localhost:9970" stop
2020-03-02 23:10:27 +00:00
Restart=on-failure
2020-03-12 14:24:35 +00:00
SyslogIdentifier=siad-upload
StandardOutput=file:/home/user/siad-upload/output.log
StandardError=file:/home/user/siad-upload/error.log
2020-03-02 23:10:27 +00:00
[Install]
WantedBy=default.target