Skip to content

Commit

Permalink
Merge pull request #69 from FokiDoki/hotfix/hyphen-bad-service-fix
Browse files Browse the repository at this point in the history
Fixed bug with hyphen
  • Loading branch information
FokiDoki authored Feb 7, 2024
2 parents 027462a + 213194a commit a211438
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions systemd/wirerest.service
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[Unit]
Description=Wireguard Controller for %I
Description=Wireguard Controller for %i
After=network.target wg-quick.target

[Service]
Type=simple
User=root

EnvironmentFile=/etc/default/wirerest-%I
ExecStart=JAVA_HOME_DIR/bin/java -jar /usr/local/bin/wirerest.jar --security.token=${ACCESS_TOKEN} --server.port=${PORT} --wg.interface.name=%I $ARGS
EnvironmentFile=/etc/default/wirerest-%i
ExecStart=JAVA_HOME_DIR/bin/java -jar /usr/local/bin/wirerest.jar --security.token=${ACCESS_TOKEN} --server.port=${PORT} --wg.interface.name=%i $ARGS
Restart=on-failure
RestartSec=3

Expand Down

0 comments on commit a211438

Please sign in to comment.