-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add systemd config, remove agent prefix logging (#159)
- Loading branch information
1 parent
ffc8ba9
commit 0a51c59
Showing
2 changed files
with
17 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[Unit] | ||
Description=Minecraft Preempt Agent | ||
After=network.target | ||
|
||
[Service] | ||
ExecStart=minecraft-preempt-agent | ||
# Change to the path where your docker-compose file is. | ||
WorkingDirectory=/home/worker/minecraft | ||
User=ubuntu | ||
Group=ubuntu | ||
Restart=always | ||
|
||
[Install] | ||
WantedBy=multi-user.target |