Add WorkingDirectory to avoid writing everything to / (default)

master
weintek-mao 2019-09-17 11:29:43 +08:00
parent 501aee1677
commit 8829580424
1 changed files with 1 additions and 0 deletions

@ -37,6 +37,7 @@ After=network-online.target
Type=simple
Restart=always
ExecStart=/usr/local/bin/statping
WorkingDirectory=/usr/local/bin
[Install]
WantedBy=multi-user.target