-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding documentation of formatter.service systemd unit file
- Loading branch information
1 parent
4766f7e
commit 66358d3
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[Unit] | ||
Description=Begin running formatter on boot. | ||
After=multi-user.target | ||
Requires=network.target | ||
|
||
[Service] | ||
Type=idle | ||
User=foxsi | ||
WorkingDirectory=/home/foxsi/foxsi-4matter | ||
Environment="ARG1=--verbose" "ARG2=--config" "ARG3=foxsi4-commands/systems.json" | ||
ExecStartPre=/bin/sleep 10 | ||
ExecStart=nohup bin/formatter $ARG1 $ARG2 $ARG3 & | ||
Restart=always | ||
RestartSec=10 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |