Skip to content

Commit

Permalink
Specify User=... in service file in order to fix #37
Browse files Browse the repository at this point in the history
  • Loading branch information
harababurel committed Jan 11, 2019
1 parent 1ee3053 commit 510430e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gcsf.service
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Environment=GCSF_MOUNTPOINT="/path/to/some/mount/point"
Environment=GCSF_SESSION="some_session_name"
ExecStart=/full/path/to/gcsf mount $GCSF_MOUNTPOINT -s $GCSF_SESSION
ExecStop=fusermount -u $GCSF_MOUNTPOINT
User=some_user_name
# GCSF will die by itself after the fusermount command
KillMode=none
Restart=on-failure
Expand Down

0 comments on commit 510430e

Please sign in to comment.