Skip to content

Commit

Permalink
[ci skip] docs: add example systemd service configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
derklaro committed Mar 1, 2023
1 parent f96e7ee commit 84ef9b7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions easydep.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[Unit]
Description=Easydep
After=network-online.target
Wants=network-online.target

[Service]
Type=simple

User=www-data
Group=www-data

Restart=always
RestartSec=10

WorkingDirectory=/usr/lib/easydep
EnvironmentFile=/etc/default/easydep
ExecStart=/bin/java -Xms256M -Xmx256M -XX:+UseZGC -XX:+PerfDisableSharedMem -XX:+DisableExplicitGC -jar easydep.jar

[Install]
WantedBy=multi-user.target

0 comments on commit 84ef9b7

Please sign in to comment.