Skip to content

Commit

Permalink
Add verkeersdrukte service definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrik committed Feb 10, 2024
1 parent 620b36c commit a8f8200
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions verkeersdrukte/src/dist/verkeersdrukte.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# copy this to /etc/systemd/system
# then sudo systemctl daemon-reload
# and enable with sudo systemctl enable --now stofradar

[Unit]
Description=verkeersdrukte
After=network.target

[Service]
WorkingDirectory=/home/bertrik/verkeersdrukte
ExecStart=/home/bertrik/verkeersdrukte/bin/verkeersdrukte
Type=simple
KillMode=process
Restart=on-failure
RestartSec=10s
TimeoutStopSec=15s
User=bertrik
Environment="VERKEERSDRUKTE_OPTS=-Xmx64M"

[Install]
WantedBy=multi-user.target

0 comments on commit a8f8200

Please sign in to comment.