-
-
Save nikneroz/ff8e0ce408698427000ef36eefdff0c0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# /lib/systemd/system/test.service | |
[Unit] | |
Description=Phoenix server for test app | |
After=network.target | |
[Service] | |
User=root | |
Group=root | |
Restart=on-failure | |
Environment=HOME=/root/test | |
ExecStart=/root/test/bin/test foreground | |
ExecStop=/root/test/bin/test stop | |
[Install] | |
WantedBy=multi-user.target | |
systemctl enable test_emm.service | |
systemctl daemon-reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment