File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,30 @@ add the lines
113
113
PATH=/home/stringer/.rbenv/bin:/bin/:/usr/bin:/usr/local/bin/:/usr/local/sbin
114
114
*/10 * * * * source $HOME/.bash_profile; cd $HOME/stringer/; bundle exec rake fetch_feeds;
115
115
116
+ Manage Stringer With Systemd
117
+ ============================
118
+
119
+ You may want to manage Stringer as a systemd service on distributions come with systemd.
120
+
121
+ As stringer user, export app service files with foreman:
122
+
123
+ cd ~/stringer
124
+ mkdir systemd-services
125
+ foreman export systemd systemd-services -a stringer -u stringer
126
+
127
+ Logout stringer user, install systemd services:
128
+
129
+ sudo cp -a ~stringer/stringer/systemd-services/* /etc/systemd/system
130
+
131
+ As stringer user, close existing Stringer instance:
132
+
133
+ exit # exit racksh and app
134
+
135
+ Start app as a systemd service and make app run at startup
136
+
137
+ sudo systemctl start stringer.target
138
+ sudo systemctl enable stringer.target
139
+
116
140
Reverse Proxy With Nginx
117
141
========================
118
142
You can’t perform that action at this time.
0 commit comments