-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Notes for running as system service (#1252)
* Note for running as system service Note for running as system service * Additional detailing of linux service. * Added darkflame.service file changed readme to reference new file
- Loading branch information
1 parent
d1dc9f5
commit 2c9a983
Showing
2 changed files
with
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[Unit] | ||
# Description of the service. | ||
Description=Darkflame LEGO Universe Server | ||
# Wait for network to start first before starting this service. | ||
After=network.target | ||
|
||
[Service] | ||
Type=simple | ||
# Services should have their own, dedicated, user account. | ||
# The specific user that our service will run as, you can find your current user by issuing `id -un` | ||
User=darkflame | ||
# The specific group that our service will run as, you can find your current primary group by issuing `id -gn` | ||
Group=darkflame | ||
# Full Path to the darkflame server process | ||
ExecStart=/PATH/TO/DarkflameServer/build/MasterServer | ||
|
||
[Install] | ||
# Define the behavior if the service is enabled or disabled to automatically started at boot. | ||
WantedBy=multi-user.target |