Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F4818758
daemons.systemd.epp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Aug 23, 8:09 PM
Size
818 B
Mime Type
text/plain
Expires
Tue, Aug 25, 8:09 PM (7 h, 38 m)
Engine
blob
Format
Raw Data
Handle
283684
Attached To
rXR Xreate
daemons.systemd.epp
View Options
<% |
Stdlib::Unixpath $command,
Optional[String] $daemon,
String $user,
String $group,
String $runtime_directory,
| -%>
[Unit]
Description=Phabricator Daemons
Documentation=https://secure.phabricator.com/book/phabricator/article/managing_daemons/
Requires=network.target
After=network.target
[Service]
Type=forking
<% if $daemon { -%>
ExecStart=<%= $command %> launch <%= $daemon %>
<% } else { -%>
ExecStart=<%= $command %> start
<% } -%>
<%#
# TODO: We should probably use `bin/phd reload`, although certain resources
# (such as `Class['php::cli']`) should trigger a `restart` rather than a `reload`.
-%>
ExecReload=<%= $command %> restart --force
ExecStop=<%= $command %> stop --force
User=<%= $user %>
Group=<%= $group %>
RuntimeDirectory=<%= $runtime_directory %>
[Install]
WantedBy=multi-user.target
Event Timeline
Log In to Comment