Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pleroma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jeff
pleroma
Commits
2a818a3e
Verified
Commit
2a818a3e
authored
6 years ago
by
shibayashi
Browse files
Options
Downloads
Patches
Plain Diff
Add comments and change default path of the Mix binary.
parent
ce2efd1e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
installation/pleroma.service
+13
-5
13 additions, 5 deletions
installation/pleroma.service
with
13 additions
and
5 deletions
installation/pleroma.service
+
13
−
5
View file @
2a818a3e
...
...
@@ -3,15 +3,23 @@ Description=Pleroma social network
After
=
network.target postgresql.service
[Service]
User
=
pleroma
WorkingDirectory
=
/home/pleroma/pleroma
Environment
=
"HOME=/home/pleroma"
Environment
=
"MIX_ENV=prod"
ExecStart
=
/usr/local/bin/mix phx.server
ExecReload
=
/bin/kill $MAINPID
KillMode
=
process
Restart
=
on-failure
; Name of the user that runs the Pleroma service.
User
=
pleroma
; Declares that Pleroma runs in production mode.
Environment
=
"MIX_ENV=prod"
; Make sure that all paths fit your installation.
; Path to the home directory of the user running the Pleroma service.
Environment
=
"HOME=/home/pleroma"
; Path to the folder containing the Pleroma installation.
WorkingDirectory
=
/home/pleroma/pleroma
; Path to the Mix binary.
ExecStart
=
/usr/bin/mix phx.server
; Some security directives.
; Use private /tmp and /var/tmp folders inside a new file system namespace, which are discarded after the process stops.
PrivateTmp
=
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment