commit | efc062672af59c75497e8c58589655b75254d217 | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Sun Jun 14 19:58:25 2020 +0200 |
committer | GitHub <noreply@github.com> | Sun Jun 14 19:58:25 2020 +0200 |
tree | be37efb221266afd91d0f053708033517061120d | |
parent | 56fc52667567925c8ad74d3537daa8b47247c288 [diff] |
Create systemd.service
diff --git a/systemd.service b/systemd.service new file mode 100644 index 0000000..1a63cd8 --- /dev/null +++ b/systemd.service
@@ -0,0 +1,11 @@ +[Unit] +Description=Pipservice Test Application + +[Service] +Type=simple +WorkingDirectory=/opt/testapp +ExecStart=/usr/bin/pipenv run python3 testapp.py +Restart=on-failure + +[Install] +WantedBy=multi-user.target